package com.nzf.vote.service;

import com.nzf.vote.entity.UserVote;
import com.baomidou.mybatisplus.extension.service.IService;
import com.nzf.vote.model.dto.UserVoteDto;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author nzf
 * @since 2022-07-25
 */
public interface IUserVoteService extends IService<UserVote> {
    List<UserVoteDto> getUserList();
    List<UserVoteDto> getUserVoteByUserId(Integer userId);
    Integer insertUserVote(UserVote userVote);
}
